package com.ruoyi.system.entity;

import io.mybatis.provider.Entity.Column;
import io.mybatis.provider.Entity.Table;
import lombok.Data;

/**
 * sys_menu - 菜单权限表
 *
 * @author mkj
 */
@Data
@Table(value = "sys_menu", remark = "菜单权限表", autoResultMap = true)
public class SysMenuDO extends BaseDO {
    @Column(value = "menu_id", id = true, remark = "菜单ID", updatable = false, insertable = false)
    private Long menuId;

    @Column(value = "menu_name", remark = "菜单名称")
    private String menuName;

    @Column(value = "parent_id", remark = "父菜单ID")
    private Long parentId;

    @Column(value = "order_num", remark = "显示顺序")
    private Integer orderNum;

    @Column(value = "path", remark = "路由地址")
    private String path;

    @Column(value = "component", remark = "组件路径")
    private String component;

    @Column(value = "query", remark = "路由参数")
    private String query;

    @Column(value = "is_frame", remark = "是否为外链（0是 1否）")
    private Integer isFrame;

    @Column(value = "is_cache", remark = "是否缓存（0缓存 1不缓存）")
    private Integer isCache;

    @Column(value = "menu_type", remark = "菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @Column(value = "visible", remark = "菜单状态（0显示 1隐藏）")
    private String visible;

    @Column(value = "status", remark = "菜单状态（0正常 1停用）")
    private String status;

    @Column(value = "perms", remark = "权限标识")
    private String perms;

    @Column(value = "icon", remark = "菜单图标")
    private String icon;

    @Column(value = "remark", remark = "备注")
    private String remark;

}
